Contains Method (TKey, TValue)

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Tests if the key-value pair is present in the part of the dictionary being viewed.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public override sealed bool Contains(
	TKey key,
	TValue value
)
Visual Basic (Declaration)
Public Overrides NotOverridable Function Contains ( _
	key As TKey, _
	value As TValue _
) As Boolean
Visual C++
public:
virtual bool Contains (
	TKey key, 
	TValue value
) override sealed

Parameters

key
TKey
Key to check for.
value
TValue
Value to check for.

Return Value

True if the key-value pair is within this view.

See Also